﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <title>@ViewBag.Title - My ASP.NET MVC Application</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    @* Im Live System dann mit der richtigen CSS Datei tauschen *@
    <link rel="stylesheet/less" type="text/css" href="~/Content/less/_myCss.less" />
    @Scripts.Render("~/bundles/less")
   @* @Styles.Render("~/Content/bootstrap")*@
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                @Html.ActionLink("MVC4 Twitter.Bootstrap", "Index", "Home", null, new { @class = "brand" })

                <div class="nav-collapse">
                    <ul class="nav">
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        <li>@Html.ActionLink("About", "About", "Home")</li>
                        <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
                        @* Dropdown Liste für z.b. PersonenModel hier wurden alle Views mit den angepassten T4 Templates angelegt. *@
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Person <b class="caret"></b> </a>
                            <ul class="dropdown-menu">
                                <li>@Html.ActionLink("Erstellen", "Create", "Person")</li>
                                <li>@Html.ActionLink("Löschen",  "Delete", "Person" )</li>
                                <li>@Html.ActionLink("Details",  "Details", "Person" )</li>
                                <li>@Html.ActionLink("Bearbeiten",  "Edit", "Person" )</li>
                                <li>@Html.ActionLink("List",  "List", "Person" )</li>
                                <li>@Html.ActionLink("Saubere Seite",  "ClearPage", "Person" )</li>
                            </ul>
                        </li>
                    </ul>
                    @Html.Partial("_LoginPartial")
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        @RenderSection("featured", required: false)
        <div class="row">
            @RenderBody()
        </div>
        <hr />
        <footer>
            <div class="row">
                <div class="span10">
                    <p>&copy; @DateTime.Now.Year - My ASP.NET MVC Application</p>
                </div>

                <div class="span1">
                    <p>
                        <a class="btn btn-mini" href="http://facebook.com">Facebook</a>
                    </p>
                </div>
                <div class="span1">
                    <p>
                        <a class="btn btn-mini" href="http://twitter.com">Twitter</a>
                    </p>
                </div>
            </div>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/twitter")
    @RenderSection("scripts", required: false)
</body>
</html>
